/**
 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
    config.language = 'zh-cn';

    config.toolbarGroups = [
       /* { name: 'document', groups: [ 'mode' ] },*/
        { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
        { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
        { name: 'paragraph', groups: [ 'list', 'indent', 'align', 'paragraph' ] },
        { name: 'links', groups: [ 'links' ] },
        //{ name: 'insert', groups: [ 'insert' ] }, // 图片上传功能暂时关闭
        { name: 'styles', groups: [ 'styles' ] },
        { name: 'colors', groups: [ 'colors' ] },
        { name: 'others', groups: [ 'others' ] }
    ];
    config.removeButtons = 'Save,NewPage,Preview,Print,Superscript,Subscript,Anchor,Flash,PageBreak,Iframe,Smiley,SpecialChar,Styles,PasteFromWord,PasteText,Table,HorizontalRule,Font,Source,Redo,Undo,Cut,Copy,Paste,Link,Unlink';

    config.imgPreviewRootUrl = ''; // 预览图片的根路径
    config.imgUploadUrl = ''; // 上传图片的接口地址

    config.baseFloatZIndex = 900;
    config.removePlugins='elementspath';
};
